package com.example.apiproject.service;

import com.example.apiproject.entity.Report;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface ReportService {
    int insert(HttpServletRequest request, String articleId, String types, String content);

    int update(Report report);

    List<Report> queryByStatus(Integer status);

    int delete(Integer id);

    List<Report> queryByUserId(HttpServletRequest request);

    List<Report> queryAll();
}
